package com.company.entity;

public class Phone {
    public Phone() {
        super();
    }

    public Phone(Integer id, String name, String tel, Integer userid) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.userid = userid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", userid=" + userid +
                '}';
    }

    private Integer id;
    private String name;
    private String tel;
    private Integer userid;
}
